package com.hp.activiti.model;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @Description:角色-菜单对应表
 * @author hp
 * @date 2018年7月4日 下午9:07:56
 */
@Entity
@Table(name = "role_menu_relation")
public class RoleMenuRelation implements Serializable{

	private static final long serialVersionUID = 4636480329960448929L;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	/**角色id**/
	private String roleId;
	
	/**菜单id**/
	private String menuId;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getRoleId() {
		return roleId;
	}

	public void setRoleId(String roleId) {
		this.roleId = roleId;
	}

	public String getMenuId() {
		return menuId;
	}

	public void setMenuId(String menuId) {
		this.menuId = menuId;
	}
}
